import { Component, OnInit, Injector } from '@angular/core';
import { ListBase } from 'app/modules/base/list-base';
import { Personnel, PersonnelService } from 'app/modules/personnel/services/personnel.service';
import { Observable, from } from 'rxjs';
import { ListResult } from 'app/modules/base/api-base';
import { MySelection } from 'app/modules/base/selection';

@Component({
	selector: 'm-select-personnel',
	templateUrl: './select-personnel.component.html',
	styleUrls: ['./select-personnel.component.scss'],
})
export class SelectPersonnelComponent implements OnInit {
	constructor(private personnelManager: PersonnelService) {}

	dataSource = this.personnelManager;
	selection = new MySelection<Personnel>('id');
	ngOnInit() {}
}
